<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
</head>

<body>
    <script>
        axios.defaults.headers = {
            "Content-Type": "application/x-www-form-urlencoded",
        }
        let obj = {
            biaoDuanGuid: 'this.biaoDuanGuid',
            file: 'file',
            signcert: 'signCert',
            reportGuid: ' this.reportGuid',
            userGuid: 'this.userGuid',
            hash: "",
            token: 'window.Jsznsb.getToken()'
        }
        
        let str = ''
        for (let key in obj) {
            str += `${key}=${obj[key]}`;
        }
        str = JSON.stringify(obj);
        axios.post(
                'http://192.168.170.83:8018/TPPingBiao/rest/transfer/oldtranstopad/mobilesignature/recieveSignInfo', {
                    params:str
                })
            .then(res => {
                console.log(res)
            })
            .catch(err => {
                console.error(err);
            })
    </script>
</body>

</html>